FROM php:7.2-fpm

ENV TZ=Asia/Shanghai

COPY sources.list /etc/apt/sources.list

RUN apt-get update \
    && apt-get install iputils-ping \
    && docker-php-ext-install mysqli && docker-php-ext-enable mysqli

#COPY ./php.conf /usr/local/etc/php/conf.d/php.conf
